package lab02.test02;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Circle cir = new Circle();

        System.out.println("请输入圆的半径：");

        cir.r = sc.nextFloat();
        cir.area();
        cir.perimeter();
    }
}
